package com.cn.hnust.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cn.hnust.pojo.Film;

public interface IFilmDao {
	
	int insertFilm(Film film);

	List<Film> selectAllFilm();
	
	List<Film> selectFilmByMifc(String mifc);
	
	int updateFilm(Film film);
	
	int deleteFilm(Integer id);
	
	Film selectFilmById(Integer id);
	
	List<Film> selectFilmByMifcArea(@Param("mifc")String mifc,@Param("area")String area);
	
	List<Film> selectFilmByMnameActorTaici(@Param("mname")String mname,@Param("mactor")String mactor,@Param("taici")String taici);
}
